/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dings
 * Date: 2024-05-15
 * Time: 17:17
 */
public class Test {
    String name = "abc";
    char[] chars = {'i','j','k'};
    int[] ints = {1,2,3};

    public void func(String name,char[] chars) {
        name = "123";
        chars[0] = '1';
    }
    public static void main(String[] args) {
        Test test = new Test();
        test.func(test.name, test.chars);
        System.out.println(test.name);
        System.out.println(test.chars);
        System.out.println(test.ints);
    }
}
